{extend name="index/index" /}

{block name="main"}

<div class="tpl-content-wrapper">
    <ol class="am-breadcrumb">
        <li><a href="{:url('admin/index/index')}" class="am-icon-home">首页</a></li>
        <li class="am-active">修改用户名称</li>
    </ol>
    <div class="tpl-portlet-components" style="width: 500px;">
        <div class="portlet-title">
            <div class="caption font-green bold">
                <span class="am-icon-code"></span> 修改名称
            </div>
            <div class="tpl-portlet-input tpl-fz-ml"></div>
        </div>
        <div class="tpl-block">
            <form method="post" action="{:url('admin/user/update',['id'=>$data['id']])}">
                <p><input style="width: 200px;" type="text" name="nick" class="am-form-field am-radius" placeholder="填写用户名" value="{$data['nick']}" /></p>
                <button class="am-btn am-btn-secondary" style="border-radius: 3px;">提交</button>
            </form>
        </div>
    </div>

    <script src="/static/admin/js/jquery.min.js"></script>
    <script src="/static/admin/js/toastr.min.js"></script>

{/block}


